Release 10.1A: OpenEdge Development:
Progress Dynamics Repository Reference
gsc_object_type table — gscot
This table defines the types of programs supported. A record must exist for the various support templates, such as Object Controller, Menu Controller, OpenEdge SmartFolder™, OpenEdge SmartBrowser™, OpenEdge SmartViewer™, and OpenEdge SmartDataObjects™.
When objects are created, they must be assigned an object type.
Table 10–3 lists the table’s FLA, fields, and foreign keys.
Table 10–4 gives details of the table’s indexes.
The object type is used as a grouping mechanism for security. This enables restrictions to be created for certain types of objects, rather than having to set up security for every object.
A recursive join exists for the object type to facilitate definite object type hierarchies (class hierarchies). This is useful for attribute inheritance at multiple levels of object type. For example, an object type could be defined for a fill-in, then a child of this might be an integer fill-in, and a child of that might be an object id.
To support customizations for object types (classes), you can specify a
custom_object_type_objto identify an additional class structure to include as part of another class, such as to add additional custom attributes and class super procedures. This makes it easier to add customizations to a class in the middle of the hierarchy without having to modify the hierarchy itself. You would not have to change theextends_object_type_objof the subclasses to point at the new custom class.A specified custom class is added below the customized class. If you customize the
dataclass with a custom classdatacustom, then at run timedatacustomis added as a subclass ofdata. It overrides and extends the behavior of all objects that further extend thedataclass. This also means that all classes below thedataclass would also automatically extend the custom classdatacustomrather thandata. Sodatacustomends up in the middle of the class hierarchy.The custom class itself can include a structure below it to provide multiple levels of customization. All of the customizations are inserted below the class, and classes that previously extended the class will instead extend the class at the bottom of the customized classes. For example, if the custom class
datacustomincluded an additional subclass,datacustom2that extendsdatacustom, then the subclasses of the original class,data, point atdatacustom2, which points atdatacustom, which then points back at the original class,data.The field
custom_object_type_objis specified in the deployment datasets exclude field list so that it is never overwritten as part of deploying changes to the class structure. This avoids the loss of the customizations with future upgrades.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |